#
# Be sure to run `pod lib lint LYHelloComponent.podspec' to ensure this is a
# valid spec before submitting.
#
# Any lines starting with a # are optional, but their use is encouraged
# To learn more about a Podspec see https://guides.cocoapods.org/syntax/podspec.html
#

Pod::Spec.new do |s|
  s.name             = 'LYHelloComponent'
  s.version          = '0.1.2'
  s.summary          = 'hello 测试工程'

# This description is used to generate tags and improve search results.
#   * Think: What does it do? Why did you write it? What is the focus?
#   * Try to keep it short, snappy and to the point.
#   * Write the description between the DESC delimiters below.
#   * Finally, don't worry about the indent, CocoaPods strips it!
  s.description      = <<-DESC
			测试工程
                       DESC

  s.homepage         = 'https:/www.baidu.com'
  # s.screenshots     = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2'
  s.license          = { :type => 'MIT', :file => 'LICENSE' }
  s.author           = { '1260197127@qq.com' => '1260197127@qq.com' }
  s.source           = { :git => 'https://gitee.com/DevalLee/lyhello-component.git', :tag => s.version.to_s }
  # s.social_media_url = 'https://twitter.com/<TWITTER_USERNAME>'

  s.static_framework = true
  s.swift_version = '5.0'
  s.ios.deployment_target = '9.0'
  s.pod_target_xcconfig = { 'BUILD_LIBRARY_FOR_DISTRIBUTION' => true }
  
  s.public_header_files = 'Pod/Classes/**/*.h'
  s.frameworks = 'UIKit', 'Foundation'
  s.dependency 'SDWebImage', '~> 5.0'
  s.dependency 'SnapKit' , '~> 4.0.1'
  s.dependency 'DDPhotoBrowser'

  s.subspec 'Framework' do |sf|
    sf.vendored_framework = "LYHelloComponent.xcframework"
  end
  
  s.subspec 'Source' do |sc|
    sc.source_files = 'LYHelloComponent/Classes/**/*'
  end
  
  s.default_subspecs = 'Framework'
  
end
